package com.cyz.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cyz.common.bean.Buttongroup;
import com.cyz.common.dto.ButtonGroupDto;
import com.cyz.common.utils.R;

/**
 * 管理端免费课程按钮分类接口
*/
public interface ButtongroupService extends IService<Buttongroup> {

    R queryFreeButtonGroups();

    R queryFreeButtonGroupsAndButtons();

    R deleteFreeButtonGroups(Integer[] ids);

    R addFreeButtonGroup(ButtonGroupDto buttonGroupDto);

    R updateFreeButtonGroup(ButtonGroupDto buttonGroupDto);
}
